<?php

namespace app\store\controller\user;

use app\store\controller\Controller;
use app\store\model\vipcard\Order as OrderModel;

/**
 * 充值记录
 * Class Recharge
 * @package app\store\controller\user
 */
class Vipcard extends Controller
{
    /**
     * 充值记录
     * @return mixed
     * @throws \think\exception\DbException
     */
    public function order()
    {
        $model = new OrderModel;
        $list =  $model->getList($this->request->param());

        return $this->fetch('order', [
            // 充值记录列表
            'list' => $model->getList($this->request->param()),
        ]);
    }

}